
import 'dart:io';

void main() async {
  Map<String, String> data = { "key1": "xiaoming", "key2": "12", "key3": "some other value"};
  var testData ={};
  data.forEach((item,value){
     sleep(Duration(seconds: 1));
    testData[item] = value;
  });
  print(testData);
}